# -*- coding: utf-8 -*-
'''
# file name:assertType_enmu.PY
# author： azj
# datetime： 2022/5/10 15:14 
# ide： PyCharm
'''

from enum import Enum

class AssertType(Enum):
    '''
    断言类型的相关枚举
    '''
    # 是否相等
    equals = "=="
    # 判断实际结果小于预期结果
    less_than = "lt"
    # 判断实际结果大于预期结果
    greater_than = "gt"
    # 判断实际结果小于等于预期结果
    greater_than_or_equals = "ge"
    # 判断实际结果不等于预期结果
    not_equals = 'not_eq'
    # 判断字符串是否相等
    string_equals = 'str_eq'
    # 判断长度是否相等
    length_equals = 'len_eq'
    # 判断长度大于
    length_greater_than = 'len_gt'
    # 判断长度大于等于
    length_greater_than_or_equals = 'len_ge'
    # 判断长度小于
    length_less_than = 'len_lt'
    # 判断长度小于等于
    length_less_than_or_equals = 'len_le'
    # 判断实际结果内容包含在期望结果中
    contains = "contains"
    # 判断实际结果包含在期望结果中
    contained_by = "contained_by"
    # 检查响应内容的开头是否和预期结果内容的开头相等
    startswith = 'startswith'
    # 检查响应内结尾开头是否和预期结果内容相等
    endswith = 'endswith'



